import request from '@/utils/request'
import {parseStrEmpty} from "@/utils/ruoyi";

// 查询设备日志
export function listDeviceLog(query) {
  return request({
    url: '/device/log/selectDeviceLogList',
    method: 'get',
    params: query
  })
}

//清空
export function emptyDeviceLog(data) {
  return request({
    url: '/device/log/emptyDeviceLog',
    method: 'post',
    data: data
  })
}
